    <link rel="stylesheet" type="text/css" href="#CHEMIN{alohacart.css}" />
    <style type="text/css">
        #page .liste-elements.clients .caption {
            background-image: url('#CHEMIN{img/alohacart_client_22x22.png}');
        }
    </style>
    
    <!--#navigation-->
    <div class='cadre-info'>
    Здесь вы можете управлять клиентами.
    </div>
    
    <INCLURE{fond=prive/left_navigation/alohacart_clients}>
    
    <!--/#navigation-->
    <!--#extra-->
        <!--Some extra content in the extra column.--> 
    <!--/#extra-->


    <h1>Клиенты</h1>
    <p> 
        <!--<h3>Выберите раздел</h3>-->
        

<B_auteurs>
#ANCRE_PAGINATION

<div class="liste-elements clients">
<table class='spip liste'>
<caption><strong class="caption">Список клиентов</strong></caption>
	<thead>
		<tr class='first_row'>
		<th><a href="#URL_ECRIRE{alohacart_clients}&order=id_auteur[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]">ID</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=nom[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]">Имя</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=email[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]">Email</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=phone[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]">Телефон</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=city[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]">Город</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=address[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]">Адрес</a></th>
        <th><a href="#URL_ECRIRE{alohacart_clients}&order=statut[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]">Статус</a></th>
		</tr>
	</thead>
	<tbody>
	<BOUCLE_auteurs(AUTEURS spip_alohacart_clients){statut IN (client_registered,client_unregistered)}
    {tri #ENV{order, id_auteur}}{inverse #ENV{sort_order, 0}} {pagination 50}>
		<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
            <td class='id_auteur'>#ID_AUTEUR</td>             			
            <td class='nom'>#NOM</td>
            <td class='email'>#EMAIL</td>						
            <td class='phone'>#PHONE</td>
            <td class='city'>#CITY</td>
            <td class='city'>#ADDRESS</td>
            <td class='city'>
                [(#STATUT|=={client_registered}|?{<:alohacart:client_statut_registered:>})]
                [(#STATUT|=={client_unregistered}|?{<:alohacart:client_statut_unregistered:>})]
            </td>
		</tr>
	</BOUCLE_auteurs>
	</tbody>
</table>
[<p class='pagination'>(#PAGINATION{prive})</p>]
</div>
</B_auteurs>
<div class="liste-elements articles"><strong class="caption">Нет клиентов</strong></div>
<//B_auteurs>



</p>